package com.hnevc.mycartingapp.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.hnevc.mycartingapp.R;

public class DetailsActivity extends AppCompatActivity {

    private ImageView back_home;
    private TextView title_text;
    private TextView carting_name;
    private TextView carting_peisongtime;
    private TextView carting_shopNotice;
    private ImageView carting_image;
    private ListView shop_listview;
    private TextView delete;
    private ListView bai_shop_listview;
    private ImageView car_color;
    private TextView selected_bai;
    private TextView all_bai;
    private TextView peisong_bai;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_details);
        initView();


    }

    private void initView() {
        back_home = (ImageView) findViewById(R.id.back_home);
        back_home.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        title_text = (TextView) findViewById(R.id.title_text);
        title_text.setText("店铺详情");
        carting_name = (TextView) findViewById(R.id.carting_name);
        carting_peisongtime = (TextView) findViewById(R.id.carting_peisongtime);
        carting_shopNotice = (TextView) findViewById(R.id.carting_shopNotice);
        carting_image = (ImageView) findViewById(R.id.carting_image);
        shop_listview = (ListView) findViewById(R.id.shop_listview);
        delete = (TextView) findViewById(R.id.delete);
        bai_shop_listview = (ListView) findViewById(R.id.bai_shop_listview);
        car_color = (ImageView) findViewById(R.id.car_color);
        selected_bai = (TextView) findViewById(R.id.selected_bai);
        all_bai = (TextView) findViewById(R.id.all_bai);
        peisong_bai = (TextView) findViewById(R.id.peisong_bai);
    }
}